home *** CD-ROM | disk | FTP | other *** search
- #!/usr/local/bin/snow -f
-
- ;; Copyright (c) 1996 Harvey J. Stein <abel@netvision.net.il>, and
- ;; eventually <hjstein@netvision.net.il>
- ;; All Rights Reserved.
- ;;
- ;; This package is covered by the GNU GPL. You can freely use and
- ;; distribute it as long as it stays under the GNU GPL, and as long as
- ;; you distribute all the corresponding source code, and as long as this
- ;; message and the above copyright notice remains.
-
- (cond ((< *argc* 1)
- (format #t "~a" "
- Usage: make-f2c-stabs <si-info-files>
-
- Reads each si-info file and writes out corresponding f2c-stabs files.
-
- WARNING - All info is *appended* to the appropriate .el files. If you
- want to recreate everything from scratch, you *must* remove the .el
- files first.
- \n")
- (exit 1)))
-
-
- (require "si-fstabs-lib")
-
- (define inc-file-regexp (string->regexp "^.*\.inc$"))
-
- (define files-created ())
-
- (for-each (lambda (fnam)
- (with-input-from-file fnam
- (lambda () (let loop ((si-decl (read)))
- (unless (eof-object? si-decl)
- (build-and-add-f2c-stab-data si-decl)
- (loop (read)))))))
- *argv*)
-